import java.util.Scanner;

public class Name {
    public static void main(String[] args) {
        String name = "Ashley";
        int n = name.length();
        String myString = "*";

        for (int x = 0; x < n-1; x++) {
            String spaces = "";
            for(int y = x; y < n-1; y++) {
                spaces = spaces + " ";
            }
            System.out.println(spaces + myString);
            myString = "*" + myString + "*";

        }
        System.out.println(name);
        myString = myString.substring(2, myString.length());
        String spaces = " ";
        for(int x = n; x > 1; x--) {
            if (myString.length() > 2) {
                myString = myString.substring(2, myString.length());
            }
            System.out.println(spaces + myString);
            spaces = spaces + " ";
        }
    }
}